home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.5 for Developers
/
QuickTime 1.5 for Developers.iso
/
Goodies
/
Aldus Fetch™
/
Fetch Browser
/
Fetch Browser.rsrc
/
CODE_86_ASoundPlayer.txt
< prev
next >
Wrap
Text File
|
1992-10-27
|
44KB
|
790 lines
# near model CODE resource
# jump table entries: 17824-17830 (7 of them)
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 102D FC61 move.b D0, [A5 - 0x39F]
00000008 670A beq +0xC /* 00000014 */
0000000A 0C6D 0607 FC50 cmpi.w [A5 - 0x3B0], 0x607
00000010 5CC1 sge D1
00000012 C001 and.b D0, D1
label00000014:
00000014 1D40 0008 move.b [A6 + 0x8], D0
00000018 4E5E unlink A6
0000001A 4E75 rts
export_2228:
0000001C 4E56 0000 link A6, 0
00000020 203C 4149 4646 move.l D0, 0x41494646 /* 'AIFF' */
00000026 B0AE 0008 cmp.l D0, [A6 + 0x8]
0000002A 57C0 seq D0
0000002C 4A00 tst.b D0
0000002E 661E bne +0x20 /* 0000004E */
00000030 223C 4149 4643 move.l D1, 0x41494643 /* 'AIFC' */
00000036 B2AE 0008 cmp.l D1, [A6 + 0x8]
0000003A 57C1 seq D1
0000003C 8001 or.b D0, D1
0000003E 660E bne +0x10 /* 0000004E */
00000040 223C 7366 696C move.l D1, 0x7366696C /* 'sfil' */
00000046 B2AE 0008 cmp.l D1, [A6 + 0x8]
0000004A 57C1 seq D1
0000004C 8001 or.b D0, D1
label0000004E:
0000004E 670E beq +0x10 /* 0000005E */
00000050 2F00 move.l -[A7], D0
00000052 4267 clr.w -[A7]
00000054 4EBA FFAA jsr [PC - 0x56 /* 00000000 */]
00000058 121F move.b D1, [A7]+
0000005A 201F move.l D0, [A7]+
0000005C C001 and.b D0, D1
label0000005E:
0000005E 1D40 000C move.b [A6 + 0xC], D0
00000062 4E5E unlink A6
00000064 2E9F move.l [A7], [A7]+
00000066 4E75 rts
00000068 4E56 0000 link A6, 0
0000006C 206E 0008 movea.l A0, [A6 + 0x8]
00000070 4AA8 FF78 tst.l [A0 - 0x88]
00000074 6708 beq +0xA /* 0000007E */
00000076 2F28 FF78 move.l -[A7], [A0 - 0x88]
0000007A 4EAD 3152 jsr [A5 + 0x3152 /* export_1574 */]
label0000007E:
0000007E 4E5E unlink A6
00000080 205F movea.l A0, [A7]+
00000082 DEFC 000A add.w A7, 0xA /* '\n' */
00000086 4ED0 jmp [A0]
export_2229:
00000088 4E56 FF60 link A6, -0x00A0
0000008C 48E7 0018 movem.l -[A7], A3,A4
00000090 206E 0014 movea.l A0, [A6 + 0x14]
00000094 43EE FFBA lea.l A1, [A6 - 0x46]
00000098 7010 moveq.l D0, 0x10
label0000009A:
0000009A 22D8 move.l [A1]+, [A0]+
0000009C 51C8 FFFC dbf D0, -0x6 /* 0000009A */
000000A0 3290 move.w [A1], [A0]
000000A2 7000 moveq.l D0, 0x00
000000A4 2D40 FF78 move.l [A6 - 0x88], D0
000000A8 7000 moveq.l D0, 0x00
000000AA 2840 movea.l A4, D0
000000AC 486E FF7C pea.l [A6 - 0x84]
000000B0 487A FFB6 pea.l [PC - 0x4A /* 00000068, value 0x4E560000 'NV\0\0', cstring "NV" */]
000000B4 2F0E move.l -[A7], A6
000000B6 4EAD 2052 jsr [A5 + 0x2052 /* export_1030 */]
000000BA 42A7 clr.l -[A7]
000000BC 3F2E 001C move.w -[A7], [A6 + 0x1C]
000000C0 2F2E 0018 move.l -[A7], [A6 + 0x18]
000000C4 4EAD 10D2 jsr [A5 + 0x10D2 /* export_534 */]
000000C8 2D57 FF78 move.l [A6 - 0x88], [A7]
000000CC 4EAD 206A jsr [A5 + 0x206A /* export_1033 */]
000000D0 486E FFBA pea.l [A6 - 0x46]
000000D4 2F2E 000C move.l -[A7], [A6 + 0xC]
000000D8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000000DC 2F2E FF78 move.l -[A7], [A6 - 0x88]
000000E0 4EBA 072E jsr [PC + 0x72E /* 00000810 */]
000000E4 42A7 clr.l -[A7]
000000E6 2F3C 444C 4F47 move.l -[A7], 0x444C4F47 /* 'DLOG' */
000000EC 2F2E FF78 move.l -[A7], [A6 - 0x88]
000000F0 4EAD 1DE2 jsr [A5 + 0x1DE2 /* export_952 */]
000000F4 285F movea.l A4, [A7]+
000000F6 2F0C move.l -[A7], A4
000000F8 4EAD 2072 jsr [A5 + 0x2072 /* export_1034 */]
000000FC 486E FFBA pea.l [A6 - 0x46]
00000100 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000104 2F0C move.l -[A7], A4
00000106 4EBA 0058 jsr [PC + 0x58 /* 00000160 */]
0000010A 486E FF7C pea.l [A6 - 0x84]
0000010E 4EAD 209A jsr [A5 + 0x209A /* export_1039 */]
00000112 2F2E FF78 move.l -[A7], [A6 - 0x88]
00000116 4EAD 315A jsr [A5 + 0x315A /* export_1575 */]
0000011A 42A7 clr.l -[A7]
0000011C 4EAD 433A jsr [A5 + 0x433A /* export_2147 */]
00000120 265F movea.l A3, [A7]+
00000122 2F0B move.l -[A7], A3
00000124 4EAD 206A jsr [A5 + 0x206A /* export_1033 */]
00000128 7001 moveq.l D0, 0x01
0000012A 2053 movea.l A0, [A3]
0000012C B068 0180 cmp.w D0, [A0 + 0x180]
00000130 661A bne +0x1C /* 0000014C */
00000132 1F3C 0001 move.b -[A7], 0x1
00000136 2F2E FF78 move.l -[A7], [A6 - 0x88]
0000013A 4EAD 3162 jsr [A5 + 0x3162 /* export_1576 */]
0000013E 2F2E FF78 move.l -[A7], [A6 - 0x88]
00000142 4EAD 30F2 jsr [A5 + 0x30F2 /* export_1562 */]
00000146 2F0C move.l -[A7], A4
00000148 4EBA 064A jsr [PC + 0x64A /* 00000794 */]
label0000014C:
0000014C 2D6E FF78 001E move.l [A6 + 0x1E], [A6 - 0x88]
00000152 4CDF 1800 movem.l A3,A4, [A7]+
00000156 4E5E unlink A6
00000158 205F movea.l A0, [A7]+
0000015A DEFC 0016 add.w A7, 0x16
0000015E 4ED0 jmp [A0]
fn00000160:
00000160 4E56 FFB8 link A6, -0x0048
00000164 48E7 0028 movem.l -[A7], A2,A4
00000168 206E 0010 movea.l A0, [A6 + 0x10]
0000016C 43EE FFBA lea.l A1, [A6 - 0x46]
00000170 7010 moveq.l D0, 0x10
label00000172:
00000172 22D8 move.l [A1]+, [A0]+
00000174 51C8 FFFC dbf D0, -0x6 /* 00000172 */
00000178 3290 move.w [A1], [A0]
0000017A 286E 0008 movea.l A4, [A6 + 0x8]
0000017E 2254 movea.l A1, [A4]
00000180 41E9 0056 lea.l A0, [A1 + 0x56]
00000184 45EE FFBA lea.l A2, [A6 - 0x46]
00000188 7010 moveq.l D0, 0x10
label0000018A:
0000018A 20DA move.l [A0]+, [A2]+
0000018C 51C8 FFFC dbf D0, -0x6 /* 0000018A */
00000190 3092 move.w [A0], [A2]
00000192 236E 000C 009C move.l [A1 + 0x9C], [A6 + 0xC]
00000198 7000 moveq.l D0, 0x00
0000019A 2340 00F2 move.l [A1 + 0xF2], D0
0000019E 337C 0005 00F0 move.w [A1 + 0xF0], 0x5
000001A4 7000 moveq.l D0, 0x00
000001A6 2340 00F8 move.l [A1 + 0xF8], D0
000001AA 4CDF 1400 movem.l A2,A4, [A7]+
000001AE 4E5E unlink A6
000001B0 205F movea.l A0, [A7]+
000001B2 DEFC 000C add.w A7, 0xC
000001B6 4ED0 jmp [A0]
export_2230:
000001B8 4E56 0000 link A6, 0
000001BC 48E7 0018 movem.l -[A7], A3,A4
000001C0 266E 000E movea.l A3, [A6 + 0xE]
000001C4 286E 0008 movea.l A4, [A6 + 0x8]
000001C8 203C 506C 6179 move.l D0, 0x506C6179 /* 'Play' */
000001CE 2053 movea.l A0, [A3]
000001D0 B0A8 002E cmp.l D0, [A0 + 0x2E]
000001D4 6608 bne +0xA /* 000001DE */
000001D6 2F0C move.l -[A7], A4
000001D8 4EBA 05BA jsr [PC + 0x5BA /* 00000794 */]
000001DC 6022 bra +0x24 /* 00000200 */
label000001DE:
000001DE 203C 5374 6F70 move.l D0, 0x53746F70 /* 'Stop' */
000001E4 2053 movea.l A0, [A3]
000001E6 B0A8 002E cmp.l D0, [A0 + 0x2E]
000001EA 6608 bne +0xA /* 000001F4 */
000001EC 2F0C move.l -[A7], A4
000001EE 4EBA 05EC jsr [PC + 0x5EC /* 000007DC */]
000001F2 600C bra +0xE /* 00000200 */
label000001F4:
000001F4 2F0B move.l -[A7], A3
000001F6 3F2E 000C move.w -[A7], [A6 + 0xC]
000001FA 2F0C move.l -[A7], A4
000001FC 4EAD 139A jsr [A5 + 0x139A /* export_623 */]
label00000200:
00000200 4CDF 1800 movem.l A3,A4, [A7]+
00000204 4E5E unlink A6
00000206 205F movea.l A0, [A7]+
00000208 DEFC 000A add.w A7, 0xA /* '\n' */
0000020C 4ED0 jmp [A0]
0000020E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_2231: // at 00000210 (misaligned)
00000212 FFFC .invalid <<F/7/7>>
00000214 48E7 0118 movem.l -[A7], D7,A3,A4
00000218 2E2E 0008 move.l D7, [A6 + 0x8]
0000021C 2847 movea.l A4, D7
0000021E 2F07 move.l -[A7], D7
00000220 4EBA 009A jsr [PC + 0x9A /* 000002BC */]
00000224 2054 movea.l A0, [A4]
00000226 4AA8 00F8 tst.l [A0 + 0xF8]
0000022A 672E beq +0x30 /* 0000025A */
0000022C 42A7 clr.l -[A7]
0000022E 2F3C 5374 6F70 move.l -[A7], 0x53746F70 /* 'Stop' */
00000234 2F07 move.l -[A7], D7
00000236 4EAD 1DE2 jsr [A5 + 0x1DE2 /* export_952 */]
0000023A 265F movea.l A3, [A7]+
0000023C 200B move.l D0, A3
0000023E 671A beq +0x1C /* 0000025A */
00000240 1F3C 0001 move.b -[A7], 0x1
00000244 1F3C 0001 move.b -[A7], 0x1
00000248 2F0B move.l -[A7], A3
0000024A 4EAD 2F52 jsr [A5 + 0x2F52 /* export_1510 */]
0000024E 4267 clr.w -[A7]
00000250 1F3C 0001 move.b -[A7], 0x1
00000254 2F0B move.l -[A7], A3
00000256 4EAD 3052 jsr [A5 + 0x3052 /* export_1542 */]
label0000025A:
0000025A 4CDF 1880 movem.l D7,A3,A4, [A7]+
0000025E 4E5E unlink A6
00000260 2E9F move.l [A7], [A7]+
00000262 4E75 rts
export_2232:
00000264 4E56 0000 link A6, 0
00000268 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000026C 4EBA 0246 jsr [PC + 0x246 /* 000004B4 */]
00000270 4E5E unlink A6
00000272 2E9F move.l [A7], [A7]+
00000274 4E75 rts
00000276 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_2233: // at 00000278 (misaligned)
0000027A 0000 48E7 ori.b D0, 0xE7
0000027E 0018 266E ori.b [A0]+, 0x6E /* 'n' */
00000282 0008 284B ori.b A0, 0x4B /* 'K' */
00000286 102E 000C move.b D0, [A6 + 0xC]
0000028A 6718 beq +0x1A /* 000002A4 */
0000028C 2F0B move.l -[A7], A3
0000028E 4EBA 02B4 jsr [PC + 0x2B4 /* 00000544 */]
00000292 70FF moveq.l D0, 0xFFFFFFFF
00000294 2054 movea.l A0, [A4]
00000296 B068 00A2 cmp.w D0, [A0 + 0xA2]
0000029A 6714 beq +0x16 /* 000002B0 */
0000029C 3F28 00A2 move.w -[A7], [A0 + 0xA2]
000002A0 A998 syscall UseResFile
000002A2 600C bra +0xE /* 000002B0 */
label000002A4:
000002A4 2F0B move.l -[A7], A3
000002A6 4EBA 0534 jsr [PC + 0x534 /* 000007DC */]
000002AA 2F0B move.l -[A7], A3
000002AC 4EBA 0302 jsr [PC + 0x302 /* 000005B0 */]
label000002B0:
000002B0 4CDF 1800 movem.l A3,A4, [A7]+
000002B4 4E5E unlink A6
000002B6 205F movea.l A0, [A7]+
000002B8 5C4F addq.w A7, 6
000002BA 4ED0 jmp [A0]
fn000002BC:
000002BC 4E56 FE98 link A6, -0x0168
000002C0 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
000002C4 286E 0008 movea.l A4, [A6 + 0x8]
000002C8 4246 clr.w D6
000002CA 2054 movea.l A0, [A4]
000002CC 217C 0000 FFFF 00A0 move.l [A0 + 0xA0], 0xFFFF
000002D4 4268 00F6 clr.w [A0 + 0xF6]
000002D8 43EE FFB8 lea.l A1, [A6 - 0x48]
000002DC 45E8 0056 lea.l A2, [A0 + 0x56]
000002E0 7010 moveq.l D0, 0x10
label000002E2:
000002E2 22DA move.l [A1]+, [A2]+
000002E4 51C8 FFFC dbf D0, -0x6 /* 000002E2 */
000002E8 3292 move.w [A1], [A2]
000002EA 4267 clr.w -[A7]
000002EC 1F3C 0001 move.b -[A7], 0x1
000002F0 486E FFB8 pea.l [A6 - 0x48]
000002F4 486E FEA9 pea.l [A6 - 0x157]
000002F8 4EAD 374A jsr [A5 + 0x374A /* export_1765 */]
000002FC 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
00000300 2254 movea.l A1, [A4]
00000302 41E9 00A4 lea.l A0, [A1 + 0xA4]
00000306 45EE FFB8 lea.l A2, [A6 - 0x48]
0000030A 7010 moveq.l D0, 0x10
label0000030C:
0000030C 20DA move.l [A0]+, [A2]+
0000030E 51C8 FFFC dbf D0, -0x6 /* 0000030C */
00000312 3092 move.w [A0], [A2]
00000314 136E FEA9 00EA move.b [A1 + 0xEA], [A6 - 0x157]
0000031A 4267 clr.w -[A7]
0000031C 3F2E FFB8 move.w -[A7], [A6 - 0x48]
00000320 2F2E FFBA move.l -[A7], [A6 - 0x46]
00000324 486E FFBE pea.l [A6 - 0x42]
00000328 486E FE98 pea.l [A6 - 0x168]
0000032C 4EAD 0482 jsr [A5 + 0x482 /* export_140 */]
00000330 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
00000334 2054 movea.l A0, [A4]
00000336 216E FE98 009C move.l [A0 + 0x9C], [A6 - 0x168]
0000033C 203C 4149 4646 move.l D0, 0x41494646 /* 'AIFF' */
00000342 B0A8 009C cmp.l D0, [A0 + 0x9C]
00000346 57C0 seq D0
00000348 4A00 tst.b D0
0000034A 6612 bne +0x14 /* 0000035E */
0000034C 223C 4149 4643 move.l D1, 0x41494643 /* 'AIFC' */
00000352 2054 movea.l A0, [A4]
00000354 B2A8 009C cmp.l D1, [A0 + 0x9C]
00000358 57C1 seq D1
0000035A 8001 or.b D0, D1
0000035C 670C beq +0xE /* 0000036A */
label0000035E:
0000035E 2054 movea.l A0, [A4]
00000360 217C 4149 4646 00EC move.l [A0 + 0xEC], 0x41494646 /* 'AIFF' */
00000368 6022 bra +0x24 /* 0000038C */
label0000036A:
0000036A 203C 7366 696C move.l D0, 0x7366696C /* 'sfil' */
00000370 2054 movea.l A0, [A4]
00000372 B0A8 009C cmp.l D0, [A0 + 0x9C]
00000376 660A bne +0xC /* 00000382 */
00000378 217C 736E 6420 00EC move.l [A0 + 0xEC], 0x736E6420 /* 'snd ' */
00000380 600A bra +0xC /* 0000038C */
label00000382:
00000382 2054 movea.l A0, [A4]
00000384 217C 3F3F 3F3F 00EC move.l [A0 + 0xEC], 0x3F3F3F3F /* '????' */
label0000038C:
0000038C 203C 4149 4646 move.l D0, 0x41494646 /* 'AIFF' */
00000392 2054 movea.l A0, [A4]
00000394 B0A8 00EC cmp.l D0, [A0 + 0xEC]
00000398 662A bne +0x2C /* 000003C4 */
0000039A 4267 clr.w -[A7]
0000039C 3F2E FFB8 move.w -[A7], [A6 - 0x48]
000003A0 2F2E FFBA move.l -[A7], [A6 - 0x46]
000003A4 486E FFBE pea.l [A6 - 0x42]
000003A8 1F3C 0001 move.b -[A7], 0x1
000003AC 486E FFB6 pea.l [A6 - 0x4A]
000003B0 4EAD 0462 jsr [A5 + 0x462 /* export_136 */]
000003B4 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
000003B8 2054 movea.l A0, [A4]
000003BA 316E FFB6 00A0 move.w [A0 + 0xA0], [A6 - 0x4A]
000003C0 6000 00E6 bra +0xE8 /* 000004A8 */
label000003C4:
000003C4 203C 736E 6420 move.l D0, 0x736E6420 /* 'snd ' */
000003CA 2054 movea.l A0, [A4]
000003CC B0A8 00EC cmp.l D0, [A0 + 0xEC]
000003D0 6600 00D6 bne +0xD8 /* 000004A8 */
000003D4 4267 clr.w -[A7]
000003D6 3F2E FFB8 move.w -[A7], [A6 - 0x48]
000003DA 2F2E FFBA move.l -[A7], [A6 - 0x46]
000003DE 486E FFBE pea.l [A6 - 0x42]
000003E2 1F3C 0001 move.b -[A7], 0x1
000003E6 4EAD 049A jsr [A5 + 0x49A /* export_143 */]
000003EA 2054 movea.l A0, [A4]
000003EC 315F 00A2 move.w [A0 + 0xA2], [A7]+
000003F0 4267 clr.w -[A7]
000003F2 A9AF syscall ResError
000003F4 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
000003F8 7000 moveq.l D0, 0x00
000003FA 2640 movea.l A3, D0
000003FC 4267 clr.w -[A7]
000003FE 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
00000404 A80D syscall Count1Resources
00000406 3E1F move.w D7, [A7]+
00000408 6F00 0096 ble +0x98 /* 000004A0 */
0000040C 42A7 clr.l -[A7]
0000040E 2F3C 736E 6420 move.l -[A7], 0x736E6420 /* 'snd ' */
00000414 3F3C 0001 move.w -[A7], 0x1
00000418 A80E syscall Get1IndResource/Get1IxResource
0000041A 265F movea.l A3, [A7]+
0000041C 200B move.l D0, A3
0000041E 6700 0088 beq +0x8A /* 000004A8 */
00000422 2F0B move.l -[A7], A3
00000424 486E FFAE pea.l [A6 - 0x52]
00000428 486E FFAA pea.l [A6 - 0x56]
0000042C 486E FEAA pea.l [A6 - 0x156]
00000430 A9A8 syscall GetResInfo
00000432 2054 movea.l A0, [A4]
00000434 316E FFAE 00F6 move.w [A0 + 0xF6], [A6 - 0x52]
0000043A 2253 movea.l A1, [A3]
0000043C 7002 moveq.l D0, 0x02
0000043E B051 cmp.w D0, [A1]
00000440 57C0 seq D0
00000442 4A00 tst.b D0
00000444 661A bne +0x1C /* 00000460 */
00000446 2049 movea.l A0, A1
00000448 7201 moveq.l D1, 0x01
0000044A B250 cmp.w D1, [A0]
0000044C 57C1 seq D1
0000044E 4A01 tst.b D1
00000450 6720 beq +0x22 /* 00000472 */
00000452 7405 moveq.l D2, 0x05
00000454 B468 0004 cmp.w D2, [A0 + 0x4]
00000458 57C2 seq D2
0000045A C202 and.b D1, D2
0000045C 8001 or.b D0, D1
0000045E 6712 beq +0x14 /* 00000472 */
label00000460:
00000460 2054 movea.l A0, [A4]
00000462 317C 0005 00F0 move.w [A0 + 0xF0], 0x5
00000468 2F0B move.l -[A7], A3
0000046A A9A3 syscall ReleaseResource
0000046C 7000 moveq.l D0, 0x00
0000046E 2640 movea.l A3, D0
00000470 6036 bra +0x38 /* 000004A8 */
label00000472:
00000472 2053 movea.l A0, [A3]
00000474 7001 moveq.l D0, 0x01
00000476 B050 cmp.w D0, [A0]
00000478 661C bne +0x1E /* 00000496 */
0000047A 2254 movea.l A1, [A4]
0000047C 3368 0004 00F0 move.w [A1 + 0xF0], [A0 + 0x4]
00000482 2F0B move.l -[A7], A3
00000484 A992 syscall DetachResource
00000486 4267 clr.w -[A7]
00000488 A9AF syscall ResError
0000048A 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
0000048E 2054 movea.l A0, [A4]
00000490 214B 00F8 move.l [A0 + 0xF8], A3
00000494 6012 bra +0x14 /* 000004A8 */
label00000496:
00000496 3F3C 923B move.w -[A7], 0x923B
0000049A 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
0000049E 6008 bra +0xA /* 000004A8 */
label000004A0:
000004A0 3F3C 9295 move.w -[A7], 0x9295
000004A4 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
label000004A8:
000004A8 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
000004AC 4E5E unlink A6
000004AE 2E9F move.l [A7], [A7]+
000004B0 4E75 rts
000004B2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000004B4-000004B8
fn000004B4:
000004B4 4E56 FFBA link A6, -0x0046
// end alternate branch 000004B4-000004B8
fn000004B4: // (misaligned)
000004B6 FFBA .invalid <<F/6/7>>
000004B8 48E7 0028 movem.l -[A7], A2,A4
000004BC 286E 0008 movea.l A4, [A6 + 0x8]
000004C0 2054 movea.l A0, [A4]
000004C2 4AA8 00F8 tst.l [A0 + 0xF8]
000004C6 6710 beq +0x12 /* 000004D8 */
000004C8 2F28 00F8 move.l -[A7], [A0 + 0xF8]
000004CC 205F movea.l A0, [A7]+
000004CE A023 syscall DisposHandle/DisposeHandle
000004D0 2054 movea.l A0, [A4]
000004D2 7000 moveq.l D0, 0x00
000004D4 2140 00F8 move.l [A0 + 0xF8], D0
label000004D8:
000004D8 2054 movea.l A0, [A4]
000004DA 4A68 00A0 tst.w [A0 + 0xA0]
000004DE 6716 beq +0x18 /* 000004F6 */
000004E0 4267 clr.w -[A7]
000004E2 2054 movea.l A0, [A4]
000004E4 3F28 00A0 move.w -[A7], [A0 + 0xA0]
000004E8 4EAD 034A jsr [A5 + 0x34A /* export_101 */]
000004EC 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
000004F0 2054 movea.l A0, [A4]
000004F2 4268 00A0 clr.w [A0 + 0xA0]
label000004F6:
000004F6 70FF moveq.l D0, 0xFFFFFFFF
000004F8 2054 movea.l A0, [A4]
000004FA B068 00A2 cmp.w D0, [A0 + 0xA2]
000004FE 670E beq +0x10 /* 0000050E */
00000500 3F28 00A2 move.w -[A7], [A0 + 0xA2]
00000504 A99A syscall CloseResFile
00000506 2054 movea.l A0, [A4]
00000508 317C FFFF 00A2 move.w [A0 + 0xA2], 0xFFFF
label0000050E:
0000050E 41EE FFBA lea.l A0, [A6 - 0x46]
00000512 2454 movea.l A2, [A4]
00000514 43EA 00A4 lea.l A1, [A2 + 0xA4]
00000518 7010 moveq.l D0, 0x10
label0000051A:
0000051A 20D9 move.l [A0]+, [A1]+
0000051C 51C8 FFFC dbf D0, -0x6 /* 0000051A */
00000520 3091 move.w [A0], [A1]
00000522 4267 clr.w -[A7]
00000524 1F3C 0001 move.b -[A7], 0x1
00000528 486E FFBA pea.l [A6 - 0x46]
0000052C 2054 movea.l A0, [A4]
0000052E 1F28 00EA move.b -[A7], [A0 + 0xEA]
00000532 4EAD 3752 jsr [A5 + 0x3752 /* export_1766 */]
00000536 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
0000053A 4CDF 1400 movem.l A2,A4, [A7]+
0000053E 4E5E unlink A6
00000540 2E9F move.l [A7], [A7]+
00000542 4E75 rts
fn00000544:
00000544 4E56 FFFA link A6, -0x0006
00000548 48E7 0108 movem.l -[A7], D7,A4
0000054C 286E 0008 movea.l A4, [A6 + 0x8]
00000550 4247 clr.w D7
00000552 7000 moveq.l D0, 0x00
00000554 2D40 FFFA move.l [A6 - 0x6], D0
00000558 2054 movea.l A0, [A4]
0000055A 4AA8 00F2 tst.l [A0 + 0xF2]
0000055E 6646 bne +0x48 /* 000005A6 */
00000560 7001 moveq.l D0, 0x01
00000562 B068 00F0 cmp.w D0, [A0 + 0xF0]
00000566 57C0 seq D0
00000568 4A00 tst.b D0
0000056A 660C bne +0xE /* 00000578 */
0000056C 7203 moveq.l D1, 0x03
0000056E B268 00F0 cmp.w D1, [A0 + 0xF0]
00000572 57C1 seq D1
00000574 8001 or.b D0, D1
00000576 6708 beq +0xA /* 00000580 */
label00000578:
00000578 7000 moveq.l D0, 0x00
0000057A 2D40 FFFA move.l [A6 - 0x6], D0
0000057E 6018 bra +0x1A /* 00000598 */
label00000580:
00000580 4267 clr.w -[A7]
00000582 486E FFFA pea.l [A6 - 0x6]
00000586 2054 movea.l A0, [A4]
00000588 3F28 00F0 move.w -[A7], [A0 + 0xF0]
0000058C 2F3C 0000 07C0 move.l -[A7], 0x7C0
00000592 42A7 clr.l -[A7]
00000594 A807 syscall SndNewChannel
00000596 3E1F move.w D7, [A7]+
label00000598:
00000598 3F07 move.w -[A7], D7
0000059A 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
0000059E 2054 movea.l A0, [A4]
000005A0 216E FFFA 00F2 move.l [A0 + 0xF2], [A6 - 0x6]
label000005A6:
000005A6 4CDF 1080 movem.l D7,A4, [A7]+
000005AA 4E5E unlink A6
000005AC 2E9F move.l [A7], [A7]+
000005AE 4E75 rts
fn000005B0:
000005B0 4E56 0000 link A6, 0
000005B4 2F0C move.l -[A7], A4
000005B6 286E 0008 movea.l A4, [A6 + 0x8]
000005BA 2054 movea.l A0, [A4]
000005BC 4AA8 00F2 tst.l [A0 + 0xF2]
000005C0 671A beq +0x1C /* 000005DC */
000005C2 4267 clr.w -[A7]
000005C4 2054 movea.l A0, [A4]
000005C6 2F28 00F2 move.l -[A7], [A0 + 0xF2]
000005CA 1F3C 0001 move.b -[A7], 0x1
000005CE A801 syscall SndDisposeChannel
000005D0 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
000005D4 2054 movea.l A0, [A4]
000005D6 7000 moveq.l D0, 0x00
000005D8 2140 00F2 move.l [A0 + 0xF2], D0
label000005DC:
000005DC 285F movea.l A4, [A7]+
000005DE 4E5E unlink A6
000005E0 2E9F move.l [A7], [A7]+
000005E2 4E75 rts
fn000005E4:
000005E4 4E56 FFFE link A6, -0x0002
000005E8 48E7 0108 movem.l -[A7], D7,A4
000005EC 286E 0008 movea.l A4, [A6 + 0x8]
000005F0 2054 movea.l A0, [A4]
000005F2 4AA8 00F2 tst.l [A0 + 0xF2]
000005F6 6700 00C0 beq +0xC2 /* 000006B8 */
000005FA 203C 4149 4646 move.l D0, 0x41494646 /* 'AIFF' */
00000600 B0A8 00EC cmp.l D0, [A0 + 0xEC]
00000604 662E bne +0x30 /* 00000634 */
00000606 4267 clr.w -[A7]
00000608 2054 movea.l A0, [A4]
0000060A 2F28 00F2 move.l -[A7], [A0 + 0xF2]
0000060E 3F28 00A0 move.w -[A7], [A0 + 0xA0]
00000612 4267 clr.w -[A7]
00000614 2F3C 0000 7FFF move.l -[A7], 0x7FFF
0000061A 42A7 clr.l -[A7]
0000061C 42A7 clr.l -[A7]
0000061E 42A7 clr.l -[A7]
00000620 1F3C 0001 move.b -[A7], 0x1
00000624 203C 0D00 0008 move.l D0, 0xD000008
0000062A A800 syscall SoundDispatch
0000062C 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
00000630 6000 00A0 bra +0xA2 /* 000006D2 */
label00000634:
00000634 203C 736E 6420 move.l D0, 0x736E6420 /* 'snd ' */
0000063A 2054 movea.l A0, [A4]
0000063C B0A8 00EC cmp.l D0, [A0 + 0xEC]
00000640 57C0 seq D0
00000642 4A00 tst.b D0
00000644 6722 beq +0x24 /* 00000668 */
00000646 4AA8 00F8 tst.l [A0 + 0xF8]
0000064A 56C1 sne D1
0000064C C001 and.b D0, D1
0000064E 6718 beq +0x1A /* 00000668 */
00000650 4267 clr.w -[A7]
00000652 2054 movea.l A0, [A4]
00000654 2F28 00F2 move.l -[A7], [A0 + 0xF2]
00000658 2F28 00F8 move.l -[A7], [A0 + 0xF8]
0000065C 4267 clr.w -[A7]
0000065E A805 syscall SndPlay
00000660 3E17 move.w D7, [A7]
00000662 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
00000666 606A bra +0x6C /* 000006D2 */
label00000668:
00000668 203C 736E 6420 move.l D0, 0x736E6420 /* 'snd ' */
0000066E 2054 movea.l A0, [A4]
00000670 B0A8 00EC cmp.l D0, [A0 + 0xEC]
00000674 57C0 seq D0
00000676 4A00 tst.b D0
00000678 6736 beq +0x38 /* 000006B0 */
0000067A 4AA8 00F8 tst.l [A0 + 0xF8]
0000067E 57C1 seq D1
00000680 C001 and.b D0, D1
00000682 672C beq +0x2E /* 000006B0 */
00000684 4267 clr.w -[A7]
00000686 2054 movea.l A0, [A4]
00000688 2F28 00F2 move.l -[A7], [A0 + 0xF2]
0000068C 4267 clr.w -[A7]
0000068E 3F28 00F6 move.w -[A7], [A0 + 0xF6]
00000692 2F3C 0000 7FFF move.l -[A7], 0x7FFF
00000698 42A7 clr.l -[A7]
0000069A 42A7 clr.l -[A7]
0000069C 42A7 clr.l -[A7]
0000069E 1F3C 0001 move.b -[A7], 0x1
000006A2 203C 0D00 0008 move.l D0, 0xD000008
000006A8 A800 syscall SoundDispatch
000006AA 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
000006AE 6022 bra +0x24 /* 000006D2 */
label000006B0:
000006B0 3F3C 0003 move.w -[A7], 0x3
000006B4 A9C8 syscall SysBeep
000006B6 601A bra +0x1C /* 000006D2 */
label000006B8:
000006B8 2054 movea.l A0, [A4]
000006BA 4AA8 00F8 tst.l [A0 + 0xF8]
000006BE 6712 beq +0x14 /* 000006D2 */
000006C0 4267 clr.w -[A7]
000006C2 42A7 clr.l -[A7]
000006C4 2054 movea.l A0, [A4]
000006C6 2F28 00F8 move.l -[A7], [A0 + 0xF8]
000006CA 4267 clr.w -[A7]
000006CC A805 syscall SndPlay
000006CE 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
label000006D2:
000006D2 4CDF 1080 movem.l D7,A4, [A7]+
000006D6 4E5E unlink A6
000006D8 2E9F move.l [A7], [A7]+
000006DA 4E75 rts
fn000006DC:
000006DC 4E56 FFF8 link A6, -0x0008
000006E0 2F0C move.l -[A7], A4
000006E2 286E 0008 movea.l A4, [A6 + 0x8]
000006E6 2054 movea.l A0, [A4]
000006E8 4AA8 00F2 tst.l [A0 + 0xF2]
000006EC 56C0 sne D0
000006EE 4A00 tst.b D0
000006F0 672C beq +0x2E /* 0000071E */
000006F2 4AA8 00F8 tst.l [A0 + 0xF8]
000006F6 56C1 sne D1
000006F8 C001 and.b D0, D1
000006FA 6722 beq +0x24 /* 0000071E */
000006FC 2D7C 0003 0000 FFF8 move.l [A6 - 0x8], 0x30000
00000704 7000 moveq.l D0, 0x00
00000706 2D40 FFFC move.l [A6 - 0x4], D0
0000070A 4267 clr.w -[A7]
0000070C 2054 movea.l A0, [A4]
0000070E 2F28 00F2 move.l -[A7], [A0 + 0xF2]
00000712 486E FFF8 pea.l [A6 - 0x8]
00000716 A804 syscall SndDoImmediate
00000718 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
0000071C 602E bra +0x30 /* 0000074C */
label0000071E:
0000071E 2054 movea.l A0, [A4]
00000720 4AA8 00F2 tst.l [A0 + 0xF2]
00000724 56C0 sne D0
00000726 4A00 tst.b D0
00000728 6722 beq +0x24 /* 0000074C */
0000072A 4AA8 00F8 tst.l [A0 + 0xF8]
0000072E 57C1 seq D1
00000730 C001 and.b D0, D1
00000732 6718 beq +0x1A /* 0000074C */
00000734 4267 clr.w -[A7]
00000736 2054 movea.l A0, [A4]
00000738 2F28 00F2 move.l -[A7], [A0 + 0xF2]
0000073C 1F3C 0001 move.b -[A7], 0x1
00000740 203C 0308 0008 move.l D0, 0x3080008
00000746 A800 syscall SoundDispatch
00000748 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
label0000074C:
0000074C 285F movea.l A4, [A7]+
0000074E 4E5E unlink A6
00000750 2E9F move.l [A7], [A7]+
00000752 4E75 rts
fn00000754:
00000754 4E56 FFE8 link A6, -0x0018
00000758 2F0C move.l -[A7], A4
0000075A 286E 0008 movea.l A4, [A6 + 0x8]
0000075E 422E 000C clr.b [A6 + 0xC]
00000762 2054 movea.l A0, [A4]
00000764 4AA8 00F2 tst.l [A0 + 0xF2]
00000768 6722 beq +0x24 /* 0000078C */
0000076A 4267 clr.w -[A7]
0000076C 2054 movea.l A0, [A4]
0000076E 2F28 00F2 move.l -[A7], [A0 + 0xF2]
00000772 3F3C 0018 move.w -[A7], 0x18
00000776 486E FFE8 pea.l [A6 - 0x18]
0000077A 203C 0010 0008 move.l D0, 0x100008
00000780 A800 syscall SoundDispatch
00000782 4EAD 207A jsr [A5 + 0x207A /* export_1035 */]
00000786 1D6E FFF4 000C move.b [A6 + 0xC], [A6 - 0xC]
label0000078C:
0000078C 285F movea.l A4, [A7]+
0000078E 4E5E unlink A6
00000790 2E9F move.l [A7], [A7]+
00000792 4E75 rts
fn00000794:
00000794 4E56 0000 link A6, 0
00000798 2F0C move.l -[A7], A4
0000079A 286E 0008 movea.l A4, [A6 + 0x8]
0000079E 4267 clr.w -[A7]
000007A0 2F0C move.l -[A7], A4
000007A2 4EBA FFB0 jsr [PC - 0x50 /* 00000754 */]
000007A6 101F move.b D0, [A7]+
000007A8 6706 beq +0x8 /* 000007B0 */
000007AA 2F0C move.l -[A7], A4
000007AC 4EBA FF2E jsr [PC - 0xD2 /* 000006DC */]
label000007B0:
000007B0 4267 clr.w -[A7]
000007B2 2F0C move.l -[A7], A4
000007B4 4EBA FF9E jsr [PC - 0x62 /* 00000754 */]
000007B8 101F move.b D0, [A7]+
000007BA 0A00 0001 xori.b D0, 0x1
000007BE 67F0 beq -0xE /* 000007B0 */
000007C0 4267 clr.w -[A7]
000007C2 2F0C move.l -[A7], A4
000007C4 4EBA FF8E jsr [PC - 0x72 /* 00000754 */]
000007C8 101F move.b D0, [A7]+
000007CA 6606 bne +0x8 /* 000007D2 */
000007CC 2F0C move.l -[A7], A4
000007CE 4EBA FE14 jsr [PC - 0x1EC /* 000005E4 */]
label000007D2:
000007D2 285F movea.l A4, [A7]+
000007D4 4E5E unlink A6
000007D6 2E9F move.l [A7], [A7]+
000007D8 4E75 rts
000007DA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000007DC-000007E2
fn000007DC:
000007DC 4E56 0000 link A6, 0
000007E0 4267 clr.w -[A7]
// end alternate branch 000007DC-000007E2
fn000007DC: // (misaligned)
000007DE 0000 4267 ori.b D0, 0x67 /* 'g' */
000007E2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000007E6 4EBA FF6C jsr [PC - 0x94 /* 00000754 */]
000007EA 101F move.b D0, [A7]+
000007EC 6708 beq +0xA /* 000007F6 */
000007EE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000007F2 4EBA FEE8 jsr [PC - 0x118 /* 000006DC */]
label000007F6:
000007F6 4267 clr.w -[A7]
000007F8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000007FC 4EBA FF56 jsr [PC - 0xAA /* 00000754 */]
00000800 101F move.b D0, [A7]+
00000802 0A00 0001 xori.b D0, 0x1
00000806 67EE beq -0x10 /* 000007F6 */
00000808 4E5E unlink A6
0000080A 2E9F move.l [A7], [A7]+
0000080C 4E75 rts
0000080E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000810-00000814
fn00000810:
00000810 4E56 FFBA link A6, -0x0046
// end alternate branch 00000810-00000814
fn00000810: // (misaligned)
00000812 FFBA .invalid <<F/6/7>>
00000814 48E7 0018 movem.l -[A7], A3,A4
00000818 206E 0014 movea.l A0, [A6 + 0x14]
0000081C 43EE FFBA lea.l A1, [A6 - 0x46]
00000820 7010 moveq.l D0, 0x10
label00000822:
00000822 22D8 move.l [A1]+, [A0]+
00000824 51C8 FFFC dbf D0, -0x6 /* 00000822 */
00000828 3290 move.w [A1], [A0]
0000082A 266E 0008 movea.l A3, [A6 + 0x8]
0000082E 284B movea.l A4, A3
00000830 486E FFBA pea.l [A6 - 0x46]
00000834 2F2E 000C move.l -[A7], [A6 + 0xC]
00000838 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000083C 2F0B move.l -[A7], A3
0000083E 4EAD 37CA jsr [A5 + 0x37CA /* export_1781 */]
00000842 2054 movea.l A0, [A4]
00000844 4228 00C8 clr.b [A0 + 0xC8]
00000848 486E FFC0 pea.l [A6 - 0x40]
0000084C 2F0B move.l -[A7], A3
0000084E 4EAD 0BE2 jsr [A5 + 0xBE2 /* export_376 */]
00000852 4CDF 1800 movem.l A3,A4, [A7]+
00000856 4E5E unlink A6
00000858 205F movea.l A0, [A7]+
0000085A DEFC 0010 add.w A7, 0x10
0000085E 4ED0 jmp [A0]
export_2234:
00000860 4E56 0000 link A6, 0
00000864 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000868 4EAD 37F2 jsr [A5 + 0x37F2 /* export_1786 */]
0000086C 2F3C 0000 07D4 move.l -[A7], 0x7D4
00000872 4EAD 1A4A jsr [A5 + 0x1A4A /* export_837 */]
00000876 4E5E unlink A6
00000878 2E9F move.l [A7], [A7]+
0000087A 4E75 rts